package com.test.jdk8.demo1;

/**
 * @ClassName SubTestImp
 * @Description TODO
 * @Author 维康
 * @Date 2018/7/9 18:56
 * @Version 1.0
 **/
public class SubTestImp implements SubDefaultInterface {
    @Override
    public void subDefault() {
        System.out.println(this.sub(a , 100));
        this.defaultMethod();
    }

    @Override
    public int sub(int a, int b) {
        return a*10 + b;
    }
}
